Skip to main content

revGetDatabaseDriverPath

Type

function

Summary

Returns the folder where the Database library looks for database drivers

Syntax

revGetDatabaseDriverPath()

Description

Use the revGetDatabaseDriverPath function if you need to know where the Database library is currently loading drivers from. This is useful if you are using custom database drivers or if you want to obtain a list of available drivers.

Important

The revGetDatabaseDriverPath function is part of the Database library. To ensure that the function works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "Database" library checkbox is checked.

Examples

if revGetDatabaseDriverPath is not tCustomDriverFolder then
revSetDatabaseDriverPath tCustomDriverFolder
end if

command: revSetDatabaseDriverPath

glossary: Standalone Application Settings, standalone application, function, LiveCode custom library

library: Database library

Compatibility and Support

Introduced

LiveCode 2.9

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?